package com.ssm.mapper;

import com.ssm.entity.ResourceAuthoritiesExample;
import com.ssm.entity.ResourceAuthoritiesKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ResourceAuthoritiesMapper {
    int countByExample(ResourceAuthoritiesExample example);

    int deleteByExample(ResourceAuthoritiesExample example);

    int deleteByPrimaryKey(ResourceAuthoritiesKey key);

    int insert(ResourceAuthoritiesKey record);

    int insertSelective(ResourceAuthoritiesKey record);

    List<ResourceAuthoritiesKey> selectByExample(ResourceAuthoritiesExample example);

    int updateByExampleSelective(@Param("record") ResourceAuthoritiesKey record, @Param("example") ResourceAuthoritiesExample example);

    int updateByExample(@Param("record") ResourceAuthoritiesKey record, @Param("example") ResourceAuthoritiesExample example);
}